package com.szrt.java.day20170113.demo07;


import org.junit.Test;

public class AdapterTest {

	@Test
	public void adapterTest() {
		
		KeyBoard keyBoard = new KeyBoard();
		Mouse mouse = new Mouse();
		Phone phone = new Phone();
		USB adt = new Adapter(keyBoard,mouse,phone);
		
		Computer computer = new Computer();
		computer.connection(adt);
		
	}

}
